from PIL import Image
from pyocr import tesseract
img=Image.open('c:\\Users\\Administrator\\Desktop\\wjl.jfif')
img=img.convert('L')
img.save('temp.jpg')
code=tesseract.image_to_string(img)
print(code)